{% extends "base.html" %}

{% block title %}魔镜魔镜，告诉我发生了什么吧！{% endblock %}
{% block content %}
<div class="ui container">
	<div class="ui breadcrumb">
        <a class="section" herf="{% url 'events:index' %}">班级大事记</a>
        <i class="right angle icon divider"></i>
        <div class="active section">新建</div>
    </div>

    <br/><br/>
	<form action="{% url 'events:create' %}" 
					method="post" class="ui form">
	{% csrf_token %}
	<fieldset>
			<legend><h1>事情是怎样的</h1></legend>
			{{ editor_form.media }}
			{{ editor_form.as_p }}
	</fieldset>

	<br/>
	<button type="submit" class="ui button">提交这件大事</button>
	</form>

	<br/>
	<p>Tips：尽量一次性填完哦，另外不要乱填，例如114514这类······</p>
</div>
{% endblock %}